package com.jianguozh.difs.support.service.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jianguozh.difs.framework.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 行政区划
 * </p>
 *
 * @author hanrs
 * @since 2022-03-17
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sup_zone")
public class Zone extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 父id
     */
    private String parentId;

    /**
     * 代码
     */
    private String code;

    /**
     * 名称
     */
    private String name;

    /**
     * 层次(1-5,省市县镇村)
     */
    private Integer level;

    /**
     * 全id
     */
    private String fullIds;

    /**
     * 全名称
     */
    private String fullPath;


}
